<div class="tms-main-page-function">
    <div class="main-content" style="height:50%">
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                <button class="layui-btn" ng-click="addReservoirClick()">打印</button>
            </ul>
            <div class="wms-wbm-fun-right">
                <input type="text" placeholder="备料单号-->回车查询" ng-model="search.zeZoneName" ng-keydown="searchListKeyDown($event)" class="search-input">
                <button class="layui-btn" ng-click="moreClick()" ng-bind="moreText">更多条件</button>
                <button class="layui-btn" ng-click="refreshClick()"><i class="layui-icon">ဂ</i></button>
            </div>
        </div>
        <div class="otherForm" ng-show="otherForm" >
            <ul>
                <li>
                    <div class="otherFormItem">
                        <div>调度单号</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.blDispatchNo" />
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>移库司机</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.blMoveDriverName"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>创建时间</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.gmtCreate" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.gmtCreate"/>
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem otherFormItemButton">
                        <button class="layui-btn" ng-click="searchClick()">查询</button>
                        <button class="layui-btn" ng-click="resetClick()">重置</button>
                    </div>
                </li>
            </ul>
        </div>
        <div class="layui-form scrollTable">
            <table class="layui-table wms_wbm_main_table minScreen outboundTable">
                <tbody>
                    <tr>
                        <th>序号</th>
                        <th>备料单号</th>
                        <th>装车道</th>
                        <th>移库司机</th>
                        <th>调度单号</th>
                        <th>板车车牌号</th>
                        <th>创建时间</th>
                        <th>创建人</th>
                        <th>备注</th>
                    </tr>
                    <tr ng-repeat="outboundOrder in outboundOrderList" ng-click="selectItemClick(outboundOrder)">
                        <td ng-bind="$index + 1"></td>
                        <td ng-bind="outboundOrder.blCode"></td>
                        <td ng-bind="outboundOrder.blLoadingRoadName"></td>
                        <td ng-bind="outboundOrder.blMoveDriverName"></td>
                        <td ng-bind="outboundOrder.blDispatchNo"></td>
                        <td ng-bind="outboundOrder.blVehiclePlate"></td>
                        <td ng-bind="outboundOrder.gmtCreate"></td>
                        <td ng-bind="outboundOrder.createPerson"></td>
                        <td ng-bind="outboundOrder.blRemark"></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="admin-table-page" style="text-align: center;">
            <div id="pages" class="page">
            </div>
        </div>
    </div>

    <div class="main-content" style="height:50%">
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                备料单明细
            </ul>
        </div>
        <div class="otherForm" ng-show="otherForm">
        </div>
        <div class="layui-form scrollTable">
            <table class="layui-table wms_wbm_main_table minScreen outboundTable">
                <tbody>
                    <tr>
                        <th>序号</th>
                        <th>底盘号</th>
                        <th>运单号</th>
                        <th>库区</th>
                        <th>库位</th>
                        <th>车辆描述</th>
                        <th>目的地</th>
                    </tr>
                    <tr ng-repeat="outboundOrderDetail in outboundOrderDetailList">
                        <td ng-bind="$index + 1"></td>
                        <td ng-bind="outboundOrderDetail.oodVin"></td>
                        <td ng-bind="outboundOrderDetail.oodWaybillNo"></td>
                        <td ng-bind="outboundOrderDetail.oodZoneName"></td>
                        <td ng-bind="outboundOrderDetail.oodLcoationName"></td>
                        <td ng-bind="outboundOrderDetail.oodVehicleSpecDesc"></td>
                        <td ng-bind="outboundOrderDetail.oodDest"></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="admin-table-page" style="text-align: center;">
            <div id="pages" class="page">
            </div>
        </div>
    </div>
</div>
